package com.novax.ex.activity.infrastructure.mapper;

import com.novax.ex.activity.infrastructure.entity.TaskTemplate;
import com.novax.ex.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import java.util.List;

/**
 * @author Hsylient
 * @description 针对表【task_template(任务名称模板)】的数据库操作Mapper
 * @createDate 2023-06-20 16:47:39
 * @Entity com.novax.ex.activity.infrastructure.entity.TaskTemplate
 */
public interface TaskTemplateMapper extends BaseMapper {

    List<TaskTemplate> selectUrl(List<Long> list);

    /**
     * @Description: 查询所有任务模板
     * @Author: ChenXi
     * @Date:  2023/6/25 16:53
     * @param
     * @return: java.util.List<com.novax.ex.activity.infrastructure.entity.TaskTemplate>
     **/
    List<TaskTemplate> queryAll();

    /**
     * @Description: 修改h5URL
     * @Author: ChenXi
     * @Date:  2023/7/4 17:06
     * @param taskTemplate
     * @return: int
     **/
    int updateH5Url(TaskTemplate taskTemplate);
}
